package com.g5kj.coupon.ssm.controller;

import com.g5kj.coupon.ssm.model.CouponEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * Created by apple on 2017/5/19.
 */
@Controller
@RequestMapping("/coupon")
public class CouponController {



    public @ResponseBody void add(CouponEntity entity){

    }
    @RequestMapping("/classify")
    public String classifyShow(){
        return "/coupon/classify";
    }
    @RequestMapping("")
    public String show(){
        return "/coupon/list";
    }

}
